import json


def add(a,b):
    return a+b

#定义一个函数，从json文件中读取数据

def read_json_data():
    data_path = '../data_files/add_text_data_1.json'
    with open(data_path, 'r', encoding='utf-8') as f:
        contents = json.load(f)
        # print(contents)
        data=[tuple(row.values()) for row in contents]
    return data


if __name__ == '__main__':
    data=read_json_data()
    print(data)
